<html>
<head>
<title>帐号信息中心</title>
{% include "systy.html" %}
<script src="/bootstrap/js/myjs.js"></script>
</head>
<body>
{% ifnotequal username None%}
{% include "head5.html" %}
<div class="container mytable">
    <div class="location_div">位置：帐号系统 >> 帐号信息中心 </div>
    <div>
        <table>
            <thead>
                <tr>
                <td>姓名</td>
                <td>帐号</td>
                <td>职位</td>
                <td>电话</td>
                <td>Email</td>
                <td>QQ</td>
                <td>权限</td>
                <td width="150">操作</td>
                </tr>
            </thead>
        {% for i in userinfo %}
        <tr>
        <td>{{i.name}}</td>
        <td>{{i.user}}</td>
        <td>{{i.post}}</td>
        <td>{{i.phone}}</td>
        <td>{{i.email}}</td>
        <td>{{i.qq}}</td>
        <td>{{i.permissions}}</td>
        
            <td class="taskinfo_td host_buttom">
                <a onclick="javascript:Popbox('更改密码',300,145,'/userpasswd/{{i.id}}.html');" class="btn btn-info btn-xs" {% ifnotequal myid i.id%} disabled="disabled"{% endifnotequal %} >改密</a>
                <a onclick="javascript:Popbox('更改帐号',300,320,'/usermod/{{i.id}}.html');" class="btn btn-Warning btn-xs" {% ifnotequal userpermissions "运维经理" %} disabled="disabled"{% endifnotequal %}>修改</a> 
                <a class="btn btn-danger btn-xs" href="/userdel/{{i.id}}.html" {% ifnotequal userpermissions "运维经理" %} disabled="disabled"{% endifnotequal %} onClick="delcfm()">删除</a> 

            </td>
        </tr>
        {% endfor %}
        </table>
    </div>
</div>
{% else %}
你无权访问，请<a href="/login.html">登陆!</a>
{% endifnotequal%}
</body>
</html>